GPU mode not rendering

Greetings,

I am working on some shots, and normally I do not have any issue with rendering, but now… I cannot render 1 model in GPU,
it is fine if I import the model and just render it, but the moment I change position I just get an error, while it will still work while rendering with the CPU!
It makes no sense to me whatsoever…
this are the errors I am getting:

(18:02:19) Cannot load texture “.\LRvyXuIxCnLZJTD.png” used by material “miiwMqSoGtchkSW #1
(18:02:20) QAccessibleTable::child: Invalid index at: 1 0
(18:02:39) Cuda error: cudaErrorIllegalAddress (an illegal memory access was encountered)
Device : NVIDIA GeForce RTX 3090
(18:02:42) Cuda error: cudaErrorDevicesUnavailable (all CUDA-capable devices are busy or unavailable)
Device : NVIDIA GeForce RTX 3090
(18:02:42) Failed initializing OptiX driver

hopefully someone here can help out

Besides maybe a weird bug my best guess is that your scene goes over the 24GB of VRAM the 3090 has. To see if that might be the issue use a little tool which monitors the usage of your VRAM and you can see if it will max out the VRAM.

A handy tool I like to use is GPU-Z: GPU-Z Graphics Card GPU Information Utility (techpowerup.com)

I just watched it, and while the load is pretty high, in another scene with the same load if not a bit more it is still rendering on GPU mode.

Edit: did notice a difference, GPU clock 1920 and memory clock at 1219, with the scene that doesn’t render, but with the ones that render it is 600 for GPU clock and 120 memory clock…

so it defenitly seems related to the GPU clock and Memory, the question is… Can I adjust it somehow?

The clock is dynamic with a GPU so if you for example have the viewport limited to a 128 samples but it takes only 1s to get there you will only see high clocks very shortly. There are options to run a GPU always at highest clocks but if you don’t want high energy bills you shouldn’t enable it. If the ‘GPU load’ basically KeyShot will put the card in a different energy mode while it renders so I would leave it alone.

But as long as the memory usage is below 24GB it should render. So at the sensors tab of GPU-Z the ‘Memory Used’ should be less than 24xxxMB. If that’s fine it must be something different.

I’m not sure which version you use of KS but I remember that you could get weird GPU errors if you for example had a .DDS file but it was named .PNG So basically with the wrong extention. Since it complains about LRvyXuIxCnLZJTD.png you could just temporarily remove that texture from the folder and load the scene again. It will complain the texture ain’t there but you skip it and try to enable GPU mode again.

If that does work the problem is with the PNG file. And than my next step would be open it in some editor and save it again as PNG and point the scene to the new file.

[edit]
If you’re able to share the scene on for example wetransfer.com I don’t mind to take a look as well. You can use a private message to send me a link

1 Like

Thank you Oscar! I will attempt the changes (need to move to a different scene at the moment) And then I will check it out with the file! Appriciate your help!

1 Like